file(GLOB_RECURSE ROBOSPACE_SRC
    ${CMAKE_CURRENT_SOURCE_DIR}/*.cpp
    ${CMAKE_CURRENT_SOURCE_DIR}/*.h
    ${CMAKE_CURRENT_SOURCE_DIR}/*.hpp
)

set_source_files_properties(${ROBOSPACE_SRC}  PROPERTIES LANGUAGE CXX)

if(BUILD_SHARED_LIBS)
    add_library(robospace SHARED)
else()
    add_library(robospace STATIC)
endif()

target_sources(robospace PRIVATE ${ROBOSPACE_SRC})

target_include_directories(robospace PRIVATE 
    ${CMAKE_CURRENT_SOURCE_DIR}
)

target_include_directories(robospace PRIVATE 
    ${CMAKE_SOURCE_DIR}/3rd
)
